-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(embedded): Guest Role Permissions #21208
Conversation
@geido please check. |
Codecov Report
@@ Coverage Diff @@
## master #21208 +/- ##
==========================================
- Coverage 66.40% 66.40% -0.01%
==========================================
Files 1783 1783
Lines 68084 68087 +3
Branches 7261 7261
==========================================
+ Hits 45214 45215 +1
- Misses 21005 21007 +2
Partials 1865 1865
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@geido can you please check? |
@villebro @jinghua-qa can you please check this pr? |
@bkyryliuk can you please check this pull request as you recently changed this file? |
@geido @hughhhh @eschutho @villebro @jinghua-qa @bkyryliuk @cccs-tom @dpgaspar can you please check this PR? |
Thanks for addressing this, I'm trying to implement the guest token and I'm facing the same issue. This approach is great! Hope someone reviews this PR soon. |
I started CI, will review soon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for fixing this!
This reverts commit d408393.
SUMMARY
This fixed the fetching of roles over a guest token. Using this the embedded dashboard can get the roles associated with the guest token.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
curl --location --request GET 'http://localhost:8080/api/v1/me/roles/'
--header 'accept: application/json'
--header 'X-guesttoken: {guest_token}'
ADDITIONAL INFORMATION